package com.magicborrow.activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import com.magicborrow.R;

/**
 * Created by Administrator on 2016/5/15.
 */
public class NewPhoneActivity extends BaseActivity implements View.OnClickListener{

    private TextView mConfirm;
    private TextView mSend;
    private ImageView iv_back;
    private EditText mVerifyCode;
    private EditText mMessage;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_new_phone);
        initView();
        initListener();
    }

    private void initView(){
        mConfirm = (TextView)findViewById(R.id.confirm);
        mSend = (TextView)findViewById(R.id.tv_send);
        iv_back = (ImageView) findViewById(R.id.iv_back);
        mVerifyCode = (EditText)findViewById(R.id.verify_code);
        mMessage = (EditText)findViewById(R.id.message);
    }
    private void initListener(){
        iv_back.setOnClickListener(this);
        mSend.setOnClickListener(this);
        mConfirm.setOnClickListener(this);
    }

    @Override
    public void onClick(View v){
        switch (v.getId()){
            case R.id.iv_back:
                this.finish();
                break;
            case R.id.tv_send:

                break;
            case R.id.confirm:
                Intent intent = new Intent();
                intent.setClass(this,IntercalateActivity.class);
                startActivity(intent);
                break;
        }
    }
}
